how to apply synthetic division